package com.googlecode.ocl2sqlcompiler.components;

import java.util.List;

/**
 * @author Renato Miceli
 * 
 */
public class UMLOperation extends UMLNamedObject {

	private UMLClass type;
	private List<UMLParameter> parameters;
	private UMLReturnResult returnResult;

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(UMLClass type) {
		this.type = type;
	}

	/**
	 * @return the type
	 */
	public UMLClass getType() {
		return type;
	}

	/**
	 * @param parameters
	 *            the parameters to set
	 */
	public void setParameters(List<UMLParameter> parameters) {
		this.parameters = parameters;
	}

	/**
	 * @return the parameters
	 */
	public List<UMLParameter> getParameters() {
		return parameters;
	}

	/**
	 * @param returnResult
	 *            the returnResult to set
	 */
	public void setReturnResult(UMLReturnResult returnResult) {
		this.returnResult = returnResult;
	}

	/**
	 * @return the returnResult
	 */
	public UMLReturnResult getReturnResult() {
		return returnResult;
	}

}
